package cn.wolfcode.domain;


import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Setter@Getter
public class Employee {
    private Long id;

    private String name;

    private String password;

    private String email;

    private Integer age;

    private boolean admin;

    private boolean status;

    //关联属性,可以封装部门id,也可以封装部门名称
    private Department dept;

    private List<Role> roles = new ArrayList<>();

}